<script setup lang="ts">
import DemoBox from '@/components/DemoBox/DemoBox.vue';
import src from './Using.vue?raw';
import Using from './Using.vue';
import PageLayout from '@/components/PageLayout.vue';
import APITable from '@/components/APITable.vue';

const data = [
    {
        name: 'modelValue',
        description: '当前选中的 name',
        type: 'string',
        default: '--',
        required: true,
    },
];
</script>

<template>
    <PageLayout>
        <DemoBox :code="src">
            <Using />
            <template #description> 选项框</template>
        </DemoBox>
        <APITable :data="data" sub-title="ESelect Props" />
    </PageLayout>
</template>
